﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewMQList.aspx.cs" Inherits="GPCSC.Web.sjsbyes.NewMQList" %>

<%@ Register Assembly="NickLee.Web.UI" Namespace="NickLee.Web.UI" TagPrefix="NickLee" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
       <title>淮安市领导干部下基层活动网站</title>
<meta name="KEYWords" content="淮安市领导干部下基层活动,三解三促,三进三帮" />
<meta name="DEscription" content="淮安市领导干部下基层活动,三解三促,三进三帮" />
    <link type="text/css" rel="Stylesheet" href="../Css/GridCss.css" />
     <link type="text/css" rel="Stylesheet" href="../Css/selectCss.css" />
     <link href="../Css/main.css" rel="stylesheet" type="text/css" />
     <script type="text/javascript" src="../Scripts/FYJScript.js"></script>
       <script type="text/javascript"  src="../Scripts/jquery-1.6.2.min.js"> </script>     
          <script type="text/javascript"  src="../Scripts/jquery-ui-1.8.16.custom.min.js"> </script>
       <link href="../Css/jquery-ui-1.8.16.custom.css" rel="stylesheet" type="text/css" />
        <script type ="text/javascript" src ="../scripts/datepicker/WdatePicker.js"></script>
    <style>
    #Griddiv1
{
	width:40%;
	height:20px;
	float:left;
	text-align:left;
	vertical-align:middle;
}
#Griddiv2
{
	float:left;
	height:20px;
	width:50%;
	text-align:right;
	vertical-align:middle;
}
#Griddiv2 a
{
	padding-right:5px;
}
	.text2
	{
	    font-size:14px;
		color:#055586;
		font-family:"宋体";
		font-weight:bold;
	 } 
	
	 
</style>
<script>
    function chaNumber(type, number, cl_post_soid) {

        var type = type;
        var number = number;
        var cl_post_soid = cl_post_soid;
        LCallBack.Callback(type, number, cl_post_soid);

    }
    function openNewWindow(url, primarykey) {
        url = url + "&CommandArg=" + primarykey;
        window.location.href = url;

    }
    function edit(type, newsid) {

        window.location.href = "NewMQEdit.aspx?command=" + type + "&newsid=" + newsid;
    }
    function offren() {
        $("#selector").dialog({
            dialogClass: "my-dialog",
            modal: true,
            width: 500,
            height: 400
        });
    }
    function ssbigin() {
        var bts = $("#bts").val();
        var zzs = $("#zzs").val();
        var fbdates = $("#fbdates").val();
        var nrs = $("#nrs").val();
        //alert(nrs);
        $("#selector").dialog("close");
        LCallBack.Callback("sel", bts, zzs, fbdates, nrs);
    }

</script>
</head>
<body>
    <form id="form1" runat="server">

    <div >
    <!--导航-->
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="29" background="../images/1.gif"><table width="300" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="300" class="tittle">当前位置:民情日记列表</td>
      </tr>
    </table></td>
  </tr>
</table>

<!--标题-->
<%--    <div style="margin-top:20px; float:none;">
    <div style="text-align:left; width:50%;  height:50px; vertical-align:bottom; ">
    <img src="../images/right2.gif" />
    <strong style="color:#0F5A8C">经验交流列表</strong>
    </div>
    </div>--%>

<!--查询-->
<!-- border: 1px solid  #AECBD4;-->
<div class="selects">
<table>
<tr>
<td>新闻关键字：</td>
<td>
<input type="text" id="like" /> 
</td>
<td>
 <input type="button" class="buttonCss" value="搜索" onclick="  var like = document.getElementById('like').value; LCallBack.Callback('2', '', like);" />
 </td>
  <td>
 <input type="button" class="buttonCss" value="筛选" onclick="offren()" />
 </td>

 <td >
<input type="button" class="buttonCss" value="新增" onclick="window.location.href='NewMQEdit.aspx';" />
</td>
</tr>
</table>

</div>

<nicklee:CallBack runat="server" ID="LCallBack" OnCallback="LCallBack_Callback" PostState="True"
            Width="100%" Height="100%" 
            LoadingPanelFadeDuration="800" LoadingPanelFadeMaximumOpacity="80">
            <Content>
                <asp:Panel ID="LPanel" runat="server">
                <asp:Label ID="lblProcesserMsg" runat="server" CssClass="labelRed" Style="display: none;"></asp:Label>
                        <asp:Label ID="lblCount" runat="server" CssClass="labelBlue" Text=""></asp:Label>
                        <asp:TextBox ID="MtxtD_DeleteList" Style="display: none" runat="server"></asp:TextBox>
                        <asp:HiddenField ID="hfError" runat="server" Value=""></asp:HiddenField>
                <div id="grid" class="grid" >

    <asp:Repeater ID="PostListS" runat="server">
    <HeaderTemplate>
    
    
    <table width="100%" >
<tr height="26px" >

<th  >
标题
</th>
<th  >
作者
</th>

<th  >
发布时间
</th>



<th colspan="3" >
操作
</th>
</tr>
</HeaderTemplate>
<ItemTemplate>


<!--不带底色-->
<tr>

<td>

<%# DataBinder.Eval(Container.DataItem, "mqtitle")%>
</td>
<td>
<%# DataBinder.Eval(Container.DataItem, "NewZz")%>
</td>
<td>
<%# DataBinder.Eval(Container.DataItem, "mqdate").ToString()%>
</td>
<td style=" cursor:pointer;" onclick="edit('view','<%# DataBinder.Eval(Container.DataItem, "tabids")%>')">

[查看]
</td>
<td style=" cursor:pointer;" onclick="edit('edit','<%# DataBinder.Eval(Container.DataItem, "tabids")%>')">

[修改]
</td>

<td style=" cursor:pointer;" onclick='chaNumber("3","","<%# DataBinder.Eval(Container.DataItem, "tabids")%>");'>

[删除]
</td>

</tr>

</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>

</asp:Repeater>
<!--分页-->
<div id="pageinfo" class="pageinfo" runat="server"></div>	
</div>
 
            </asp:Panel>
            </Content>

            <LoadingPanelClientTemplate>
                <table style="width: 100%; height: 100%;" cellspacing="0" cellpadding="0" border="0"
                    bgcolor="#e0e0e0">
                    <tr style="width: 100%; height: 100%;">
                        <td style="width: 100%; height: 100%; vertical-align: middle; text-align: center;">
                            <table cellspacing="0" cellpadding="0" border="0">
                                <tr>
                                    <td style="font-family: tahoma; font-size: 12px; text-align: center;">
                                        数据载入中...&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-family: tahoma; font-size: 12px; text-align: center;">
                                        <img alt="" src="../images/GreenBar.gif" border="0" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
           </LoadingPanelClientTemplate>
         </nicklee:CallBack>

<!--列表-->
<div id="selector"  title="高级搜索" style="display:none" >

<table style=" width:100%; height:100%">
<tr>
<td style="text-align:right;color:#0161A1;">
标题关键字：
</td>
<td>
<input type="text" id="bts" style="text-align:left" />
</td>
</tr>
<tr>
<td style="text-align:right; color:#0161A1;">
作者关键字：
</td>
<td>
<input type="text"  id="zzs" style="text-align:left"/>
</td>
</tr>
<tr>
<td style="text-align:right;color:#0161A1;">
发布日期：
</td>
<td>
<input type="text" id="fbdates" style="text-align:left"/>
 <img  style="margin-bottom:0px;"  src="../Images/calendar.gif"  onclick="WdatePicker({el:'fbdates'})"/>
</td>
</tr>
<tr>
<td style="text-align:right;color:#0161A1;">
内容关键字：
</td>
<td>
<input type="text" id="nrs" style="text-align:left"/>
</td>
</tr>
<tr>
<td colspan="2" style="text-align:center"> 
<input type="button" value="开始搜索" onclick="ssbigin()" class="buttonCss" />
</td>
</tr>

</table>

</div>
    </div>
    </form>
</body>
</html>

